package com.sc.base.user.bean.client;

import com.sc.base.user.bean.dto.user.UserAddReqDto;
import com.sc.base.user.bean.dto.user.UserAddResDto;
import org.springframework.stereotype.Component;

/**
 * @author
 */
@Component
public class UserClientFallBack implements UserClient {

    @Override
    public UserAddResDto userAdd(UserAddReqDto reqDto) {
        UserAddResDto r = new UserAddResDto();
        r.setResCode(531);
        r.setResMsg("用户服务跪了。");
        return r;
    }
}
